<?php

namespace App\Utils;

class SecretUtil
{

    public static function encrypt(string $secret)
    {
        return password_hash($secret,PASSWORD_DEFAULT);
    }

    public static function verify(string $secret, string $hash)
    {
        return password_verify($secret, $hash);
    }
}